package com.yc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.entity.Admin;

import java.util.List;

/**
 * <p>
 * InnoDB free: 4096 kB 服务类
 * </p>
 *
 * @author ly
 * @since 2022-06-06
 */
public interface IAdminService extends IService<Admin> {
    public List< Admin > login(String name, String password);

    public List<Admin> queryByAdname(String name);

    public Integer updateLastTime(Admin admin);

    public Integer updateAdminInfo(Admin admin);

    public Integer updateAdminPwd(Admin admin,String newpwd);
}
